/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.edu.uw.come.mooba.domain;

/**
 *
 * @author Piotr Kochański
 */
public class CourseInfo {
    private Long id;
    private String fullname;
    private String shortname;
    private String categoryName;

    public static String BASE_XPATH = "//MOODLE_BACKUP/COURSE/HEADER/";
    public static String ID_TAG = "ID";
    public static String FULLNAME_TAG = "FULLNAME";
    public static String SHORTNAME_TAG = "SHORTNAME";
    public static String CATEGORY_NAME_TAG = "CATEGORY/NAME";


    public CourseInfo(String fullname, String shortname, String categoryName) {
        this.fullname = fullname;
        this.shortname = shortname;
        this.categoryName = categoryName;
    }

    public CourseInfo() {
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getFullname() {
        return fullname;
    }

    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    public String getShortname() {
        return shortname;
    }

    public void setShortname(String shortname) {
        this.shortname = shortname;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return fullname + "/" + categoryName  + " (" + id + ")";
    }

    




    

}

/*




 */
